#include "employee.h"

Employee::Employee(int workerID, int departmentID, string name){
    this->workerID = workerID;
    this->departmentID = departmentID;
    this->name = name;
}
void Employee::showWorkerInfo(){
    cout<<"职工编号："<<this->workerID
        <<"\t职工姓名："<<this->name
        <<"\t职工岗位："<<this->showDepartment()
        <<"\t岗位职责："<<"完成经理的任务"<<endl;

}
string Employee::showDepartment(){
    return "员工";
}